package com.ysu.his.admin.mapper;

import com.ysu.his.dto.DepartmentDto;
import com.ysu.his.entity.user.Department;
import com.ysu.his.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper
{
    List<Department> getDepartmentByPage(DepartmentDto departmentDto);

    void addDepartment(Department department);

    List<UserVo> getDoctorByDepartmentId(Long departmentId);

    List<Department> getAllDepartment();

}
